//
//  NRWCarPhotoManager.h
//  New_Runway
//
//  Created by 张记 on 2018/5/31.
//  Copyright © 2018年 NelsonJ. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
typedef NS_ENUM(NSInteger, PickerType)
{
    PickerType_Camera = 0, // 拍照
    PickerType_Photo, // 照片
};
typedef NS_ENUM(NSInteger, PhotoCutType)
{
    PhotoCutType_YES = 0, // 裁剪
    PhotoCutType_NO, // 不裁剪
};
typedef void(^CallBackBlock)(UIImage *image, BOOL isCancel);

@interface NRWCarPhotoManager : NSObject
+ (instancetype)shareInstance;
- (void)presentPicker:(PickerType)pickerType photoCut:(PhotoCutType)photoCutType target:(UIViewController *)vc callBackBlock:(CallBackBlock)callBackBlock;
@end
